package cn.iocoder.yudao.hires.vo.noticeapplication;

import com.baomidou.mybatisplus.annotation.TableField;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;

import java.time.LocalDateTime;

@Schema(description = "管理后台 - 下游-投递记录新增/修改 Request VO")
@Data
public class NoticeApplicationSaveReqVO {

    @Schema(description = "主键ID", requiredMode = Schema.RequiredMode.REQUIRED, example = "999")
    private Long id;

    @Schema(description = "用户ID", example = "10153")
    private Long userId;

    @Schema(description = "简历ID", example = "11175")
    private Long resumeId;

    @Schema(description = "企业名称(冗余)", example = "赵六")
    private String companyName;

    @Schema(description = "职位ID", example = "299")
    private Long positionId;

    @Schema(description = "职位名称(冗余)", example = "李四")
    private String positionName;

    @Schema(description = "投递时间")
    private LocalDateTime applicationTime;

    @Schema(description = "状态(0:已投递 1:已查看 2:感兴趣 3:不合适 4:已邀约)", example = "1")
    private Integer status;

    @Schema(description = "反馈时间")
    private LocalDateTime feedbackTime;

    @Schema(description = "反馈内容")
    private String feedbackContent;

    @Schema(description = "是否已读(0:未读 1:已读)")
    private Integer isRead;

    @Schema(description = "标记(0:无 1:星标 2:重要)")
    private Integer mark;

    @Schema(description = "来源(1:主动投递 2:企业邀请)")
    private Integer source;


    /**
     * 职位id
     */
    private Integer positionCategoryId;

    /**
     * 职位名称
     */
    private String positionCategoryName;
    /**
     * 租户id
     */
    private Long tenantId;

    @TableField(exist = false)
    private String positionIds;
}